/*
 * @Author: duguangyan dis2010@126.com
 * @Date: 2024-08-22 09:19:44
 * @LastEditors: duguangyan dis2010@126.com
 * @LastEditTime: 2024-08-22 09:26:38
 * @FilePath: \sharder\src\routes\index.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import Home from '../components/home';
import My from '../components/my';
import Order from '../components/order';
import Pay from '../components/pay';
import Main from '../components/main';
import Sun from '../components/sun';
import Bub from '../components/bub';

const Routes = [
  {
    path: "/",
    label: '首页',
    element: <Home />,
  },
  {
    path: "main",
    label: '业务',
    element: <Main />,
    children: [
      {
        path: "order",
        label: '订单',
        element: <Order />,
      },
      {
        path: "pay",
        label: '支付信息',
        element: <Pay />,
      },
    ]
  },
  {
    path: "my",
    label: '我的',
    element: <My />,
  },
  {
    path: "sun",
    label: 'sun',
    element: <Sun />,
  },
  {
    path: "bub",
    label: 'bub',
    element: <Bub />,
  },
];
export default Routes;

